<?php
$csv = array();
if (($handle = fopen("users.csv", "r")) !== FALSE) {
    while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) {
      $csv[] = array_map('trim',$data);
    }
    var_export($csv);
    fclose($handle);
}

